/*
* 用户中心路由
* * 注意：子路由的path他妈不能写绝对路径
*/
import uc from "@/views/uc/uc.vue"
export const routeMapUc = [
	{
		path: '/uc',
		// name: 'uc',//如果有子路由，一级路由设置name会警告
		component: uc,
		meta: { tabname: '用户中心',needlogin:false },
		children:[
			{
				//默认子路由直接显示
				path:'/',
				redirect:'index'
			},
            {
                //默认子路由直接显示
                path:'index',
                name:'ucIndex',
                component: () => import('../views/uc/index/index.vue'),
	            meta: { title: '用户中心首页' }
            },
			{
				//推广关系
				path:'share',
				name:'share',
				component: () => import('../views/uc/share/share.vue'),
				meta: { title: '推广关系' }
			},
			{
				//授权中心
				path:'authorize',
				name:'authorize',
				component: () => import('../views/uc/authorize/authorize.vue'),
				meta: { title: '授权中心' }
			},
			{
				//节点
				path:'usernode',
				name:'usernode',
				component: () => import('../views/uc/usernode/usernode.vue'),
				meta: { title: '节点' }
			},
			/*{
				//推广数据
				path:'spread',
				name:'spread',
				component: () => import('../views/uc/spread/userspread.vue'),
				meta: { title: '推广数据' }
			},*/
			{
				//绑定账号
				path:'wallet_binding',
				name:'wallet_binding',
				component: () => import('../views/uc/spread/wallet_binding.vue'),
				meta: { title: '绑定钱包' }
			},

			

			{
				//发起赛事主引导页面
				path:'CreateVote',
				name:'CreateVote',
				component: () => import('../views/uc/manage/CreateVote.vue'),
				meta: { title: '发起赛事引导' }
			},
			
			{
				//发起赛事，目前先弄一个足球，可能蓝球要共用？
				path:'CreateVoteFootball',
				name:'CreateVoteFootball',
				component: () => import('../views/uc/manage/CreateVoteFootball.vue'),
				meta: { title: '发起足球赛事' }
			},

			{
				//我发起的赛事列表
				path:'MySponsored',
				name:'MySponsored',
				component: () => import('../views/uc/manage/MySponsored.vue'),
				meta: { title: '发起的投票' }
			},
			{
				//我发起的赛事列表详情
				path:'MySponsoredDetail',
				name:'MySponsoredDetail',
				component: () => import('../views/uc/manage/MySponsoredDetail.vue'),
				meta: { title: '我发起投票-详情' }
			},

			{
				//我参与的赛事列表
				path:'MyInvolved',
				name:'MyInvolved',
				component: () => import('../views/uc/manage/MyInvolved.vue'),
				meta: { title: '我参与的投票' }
			},

			{
				//我发起的赛事列表
				path:'MyInvolvedDetail',
				name:'MyInvolvedDetail',
				component: () => import('../views/uc/manage/MyInvolvedDetail.vue'),
				meta: { title: '我参与的投票-详情' }
			},

			{
				//我参与的赛事
				path:'MyInvolvedGame',
				name:'MyInvolvedGame',
				component: () => import('../views/uc/manage/MyInvolvedGame.vue'),
				meta: { title: '我参与的赛事' }
			},

			{
				//投票赛事结果审核
				path:'ContestCheck',
				name:'ContestCheck',
				component: () => import('../views/uc/manage/ContestCheck.vue'),
				meta: { title: '投票赛事复核' }
			},

			{
				//投票赛事管理
				path:'ContestManage',
				name:'ContestManage',
				component: () => import('../views/uc/manage/ContestManage.vue'),
				meta: { title: '投票赛事管理' }
			},
		]
	}
]
